package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2018-01-31
 */
@TableName("sharding_repository_count")
public class ShardingRepositoryCount implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 类-英文名称
	 */
	@TableField(value="classes_en")
	private String classesEn;

	/**
	 * 关联分库分表-数据源表
	 */
	@TableField(value="sharding_data_source_id")
	private Integer shardingDataSourceId;

	/**
	 * 表名称
	 */
	@TableField(value="table_name")
	private String tableName;

	/**
	 * 数据总数
	 */
	@TableField(value="data_count")
	private Integer dataCount;

	/**
	 * 数据更新时间
	 */
	@TableField(value="update_time")
	private String updateTime;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getClassesEn() {
		return classesEn;
	}

	public void setClassesEn(String classesEn) {
		this.classesEn = classesEn;
	}

	public Integer getShardingDataSourceId() {
		return shardingDataSourceId;
	}

	public void setShardingDataSourceId(Integer shardingDataSourceId) {
		this.shardingDataSourceId = shardingDataSourceId;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public Integer getDataCount() {
		return dataCount;
	}

	public void setDataCount(Integer dataCount) {
		this.dataCount = dataCount;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

}
